<%= javascript_include_tag :defaults %>
<h1>Editing <%= @cheatsheet.title %></h1>

<%= error_messages_for :cheatsheet %>
<%= @cheatsheet.errors.full_messages %>

	<!-- MAIN EDIT FORM -->

<% form_for :cheatsheet, :url => cheatsheet_path, :html => { :multipart => true, :method => :put } do |form| %>
	<%= render :partial => "form", :object => form %>
  	<%= submit_button %>
<% end %>
 
